@echo off

echo %CD%>tmp
win32util\sed.exe s/\\/\\\//g tmp > curdir
set /p CURDIR=<curdir
del tmp
del curdir
echo win32util\sed.exe s/$BOOKML/%CURDIR%/g config\default.in > _config.bat
call _config.bat > config\default.xml
del _config.bat

